package com.info.zhiduoduo.admin.model.formbean.partner;

import org.hibernate.validator.constraints.Range;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class PartnerRenewFormbean {

	private int partnerid;
	@Range(min = 1, max = 2, message = "续约年数无效")
	@ApiModelProperty("续约年数")
	private int year;
}
